package com.xyz.study.design_mode.i_bridge.mode;

/**
 * 角色：ConcreteAbstraction/RedefinedAbstraction
 * @author XYZ
 * @version 1.0.0
 * @since 2021-01-26 21:25
 */
public class PrinterAbstractionPing extends PrinterAbstraction{
    public PrinterAbstractionPing(PrinterImplementor printerImplementor) {
        super(printerImplementor);
    }

    @Override
    protected String prefix() {
        return "--PING--";
    }

    @Override
    protected String postfix() {
        return "--PING--";
    }
}
